<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
	<head>
	    <title><s:text name="application.title"/></title>
	    <link href="<s:url value='/css/main.css'/>" rel="stylesheet" type="text/css"/>
	    <meta charset="utf-8">
	</head>
	<body>
		
		<s:form action="login" method="POST">
			<div class="titleDiv"><s:text name="application.title"/></div>
			<h1><s:text name="label.login"/></h1>
			<br/>
			<tr>
				<td colspan="2">
					<s:actionerror />
				</td>
			</tr>
			
			<s:textfield name="username" label="Nombre de usuario" />
			<s:password name="password" label="Contraseña" />
			<s:select name="userType" list="{getText('label.login.student'), getText('label.login.lecturer')}" label="%{getText('label.login.select')}" />

			<s:submit value="Ingresar"  align="center"/>
		</s:form>
	</body>
</html>